﻿// Decompiled with JetBrains decompiler
// Type: UnityEngine.Rendering.RenderStateMask
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

using System;

#nullable disable
namespace UnityEngine.Rendering
{
  /// <summary>
  ///   <para>Specifies which parts of the render state that is overriden.</para>
  /// </summary>
  [Flags]
  public enum RenderStateMask
  {
    /// <summary>
    ///   <para>No render states are overridden.</para>
    /// </summary>
    Nothing = 0,
    /// <summary>
    ///   <para>When set, the blend state is overridden.</para>
    /// </summary>
    Blend = 1,
    /// <summary>
    ///   <para>When set, the raster state is overridden.</para>
    /// </summary>
    Raster = 2,
    /// <summary>
    ///   <para>When set, the depth state is overridden.</para>
    /// </summary>
    Depth = 4,
    /// <summary>
    ///   <para>When set, the stencil state and reference value is overridden.</para>
    /// </summary>
    Stencil = 8,
    /// <summary>
    ///   <para>When set, all render states are overridden.</para>
    /// </summary>
    Everything = Stencil | Depth | Raster | Blend, // 0x0000000F
  }
}
